package wangxiaotao.service;

import cn.hutool.captcha.CircleCaptcha;
import wangxiaotao.bean.vo.AccountVO;
import wangxiaotao.common.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wang
 * @since 2022-03-22
 */
public interface CommonService{
    /**
     * 登录
     * @param request
     * @param response
     * @param accountVO
     * @return
     */
    CommonResult login(HttpServletRequest request, HttpServletResponse response, AccountVO accountVO);


    /**
     * 获取验证码图片 base64格式
     * @return
     */
    CircleCaptcha getCaptcha();
}
